/**
 * @author huiwensong.2012, huangjm.2012
 *
 */
package entity;

public class Student {
	private String userId;
	private String password;
	private String name;
	private String school;
	private double edollar;

	public Student(String userId, String password, String name, String school,
			double edollar) {
		this.userId = userId;
		this.password = password;
		this.name = name;
		this.edollar = edollar;
		this.school = school;
	}

	public String getUserId() {
		return userId;
	}

	public String getPassword() {
		return password;
	}

	public String getName() {
		return name;
	}

	public double getEdollar() {
		return edollar;
	}

	public void setEdollar(double edollar) {
		this.edollar = edollar;
	}

	public String getSchool() {
		return school;
	}

	@Override
	public String toString() {
		return "\"userid\": \"" + userId + "\", \"password\": \"" + password
				+ "\", \"name\": \"" + name + "\", \"school\": \"" + school
				+ "\", \"edollar\": " + edollar + "";
	}

}
